import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/list',
      name: 'list',
      component: (resolve) => require(['@/components/Home/List'], resolve)
    },
    {
      path: '/home',
      name: 'home',
      component: (resolve) => require(['@/components/Home/Home'], resolve)
    },
    {
      path: '/login',
      name: 'login',
      component: (resolve) => require(['@/components/Login/Login'], resolve)
    },
    {
      path: '/',
      name: 'login',
      component: (resolve) => require(['@/components/Login/Login'], resolve)
    }
  ]
})
